Automattic\Jetpack\Waf\Waf_Runtime D

Total Complexity 147
Dependencies 4
Dependents 1
Total lines 772
Lines of code 460
Logical lines of code 286
Comment lines 233
Methods 25
Properties 11

Methods 25

Method Rating Maintainability Complexity Lines of code
meta()
D
34 34 82
normalize_targets()
C
33 30 90
normalize_array_target()
A
44 12 48
update_targets()
A
51 10 28
match_targets()
A
48 8 34
write_blocklog()
S
53 6 21
block()
S
57 5 15
key_matches()
S
60 5 14
write_blocklog_row()
S
58 4 15
array_flatten()
S
60 4 14
flag_target_for_removal()
S
62 4 12
rule_removed()
S
63 4 11
connect_to_wordpress_db()
S
61 3 12
state_values()
S
63 3 10
flag_rule_for_removal()
S
69 2 7
dec_var()
S
70 2 6
inc_var()
S
70 2 6
get_var()
S
73 2 5
__construct()
S
77 1 4
set_var()
S
80 1 3
is_ip_in_array()
S
72 1 5
normalize_header_name()
S
78 1 3
unset_var()
S
80 1 3
redirect()
S
72 1 5
sanitize_output()
S
65 1 7